From: Luka Perkov Date: Sun, 15 Dec 2013 21:12:47 +0000 (+0000) Subject: i2c-tools: fix TARGET_CPPFLAGS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ec88f2dc1a37d97f4d270dd866e1c0c1baa57fab;p=openwrt%2Fsvn-archive%2Fpackages.git i2c-tools: fix TARGET_CPPFLAGS Fixes #13546 and #13857. Signed-off-by John Vogel SVN-Revision: 39069 --- diff --git a/utils/i2c-tools/Makefile b/utils/i2c-tools/Makefile index 7085dd582..51dc0104f 100644 --- a/utils/i2c-tools/Makefile +++ b/utils/i2c-tools/Makefile @@ -62,7 +62,7 @@ define Package/python-smbus/description This package contain the python bindings for Linux SMBus access through i2c-dev. endef -TARGET_CPPFLAGS += -I$(LINUX_DIR)/include +TARGET_CPPFLAGS += -I$(PKG_BUILD_DIR)/include ifdef CONFIG_PACKAGE_python-smbus define Build/Compile/python-smbus